<template>
  <div>
    <el-card>
      <el-form ref="form" :model="formData" size="medium" label-width="110px">
        <el-row>
          <el-col :span="5">
            <el-form-item label="机构名称" prop="orgName">
              <el-select v-model="formData.orgId" clearable style="margin-left: 20px;" placeholder="请选择">
                <el-option
                  v-for="item in forname"
                  :key="item.id"
                  :label="item.orgName"
                  :value="item.id">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="姓名" prop="repManName">
              <el-input v-model="formData.repManName" ></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="性别" prop="gender">
              <el-select v-model="formData.gender" clearable style="margin-left: 20px;" placeholder="请选择">
                <el-option
                  v-for="item in gender"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label-width="90px" label="学历" prop="edu">
              <el-select v-model="formData.edu" clearable style="margin-left: 20px; width: 120px" placeholder="请选择">
                <el-option
                  v-for="item in edu"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="5">
            <el-form-item label="科室" prop="divName">
              <el-select v-model="formData.divName" clearable style="margin-left: 20px;" placeholder="请选择">
                <el-option
                  v-for="item in sectionname"
                  :key="item.id"
                  :label="item.divName"
                  :value="item.id">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="职务" prop="manageJob">
              <el-select v-model="formData.manageJob" clearable style="margin-left: 20px;" placeholder="请选择">
                <el-option
                  v-for="item in mjob"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="职级" prop="jobLevel">
              <el-select v-model="formData.jobLevel" clearable style="margin-left: 20px;" placeholder="请选择">
                <el-option
                  v-for="item in joblevel"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="4">
            <el-form-item label="所学专业" prop="spe">
              <el-select v-model="formData.spe" clearable :style="{width: '120%'}" placeholder="请选择">
                <el-option
                  v-for="item in spe"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="1" style="margin-left: 100px;">
            <el-button type="success">检索</el-button>
          </el-col>
        </el-row>
      </el-form>
    </el-card>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        gender:[{"label": "男", "value": "男"}, {"label": "女", "value": "女"}],
        edu:[{"label": "不详", "value": "不详"},{"label": "无学历", "value": "无学历"},{"label": "初中", "value": "初中"}, {"label": "高中", "value": "高中"},{"label": "中专", "value": "中专"},{"label": "大专", "value": "大专"}, {"label": "本科", "value": "本科"},{"label": "硕士", "value": "硕士"}, {"label": "博士", "value": "博士"},],
        mjob:[{"label": "所(局)长", "value": 1}, {"label": "党委(副)书记", "value": 2},{"label": "副所(局)长", "value": 3}, {"label": "科室主任", "value": 4},{"label": "科室副主任", "value": 5}, {"label": "无职务", "value": 6}],
        joblevel:[{"label": "无", "value": 0},{"label": "省部级正职", "value": 1}, {"label": "省部级副职", "value": 2},{"label": "厅局级正职", "value": 3}, {"label": "厅局级副职", "value": 4},{"label": "县处级正职", "value": 5}, {"label": "县处级副职", "value": 6}, {"label": "乡科级正职", "value": 7},{"label": "乡科级副职", "value": 8}, {"label": "科办员", "value": 9}],
        spe:[{"label": "工程", "value": "工程"}, {"label": "法律", "value": "法律"},{"label": "医药", "value": "医药"},{"label": "公共卫生", "value": "公共卫生"}, {"label": "无专业", "value": "无专业"},{"label": "其他专业", "value": "其他专业"},{"label": "不详", "value": "不详"}]

      }
    }
  }
</script>
<style></style>
